import request from "../request.js"

// 广告
function bannerAds(){
	return request({
		url:'/lejuClient/home/bannerAds'
	})
}

// 分类
function findCategory(id){
	return request({
		url:`/lejuClient/productCategory/findCategory/${id}`
	})
}

// 限时活动
function recommendList(){
	return request({
		url:'/lejuClient/home/recommendList'
	})
}

// 热门推荐
function hotList(){
	return request({
		url:'/lejuClient/home/hotList'
	})
}

// 新品推荐
function lejuLatestProducts(){
	return request({
		url:'/lejuClient/home/lejuLatestProducts'
	})
}

// 猜你喜欢
function saleMostProducts(){
	return request({
		url:'/lejuClient/home/saleMostProducts'
	})
}

export {
	bannerAds,
	findCategory,
	recommendList,
	hotList,
	lejuLatestProducts,
	saleMostProducts
}